package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 模块标识实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "ModuleSign")
public class ModuleSign extends BaseModel {
    @PrimaryKey
    @Field("UserId")
    private String userId;
    @Field("DutiesCode")
    private String dutiesCode;
    @Field("StreetCode")
    private String streetCode;
    @Field("VillageCode")
    private String villageCode;
    @Field("SiteCode")
    private String siteCode;
    @Field("ReligionCode")
    private String religionCode;
    @Field("Law")
    private Long law;//法规
    @Field("Notify")
    private Long notify;//通知
    @Field("SafeCheck")
    private Long safeCheck;//安全检查
    @Field("FireCheck")
    private Long fireCheck;//消防检查
    @Field("PowerCheck")
    private Long powerCheck;//电力检查
    @Field("Usual")
    private Long usual;//平安报送
    @Field("Condition")
    private Long condition;//情况报告
    @Field("Bill")
    private Long bill;//财务
    @Field("Activity")
    private Long activity;//活动
    @Field("Leave")
    private Long leave;//请销假
    @Field("CreateTime")
    private LocalDateTime createTime;
}
